projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea0e52a
)
(hs-already-hidden-p): Move to end of line so hidden blocks will be
author
J.D. Smith
<jdsmith@as.arizona.edu>
Mon, 27 Nov 2006 18:07:55 +0000
(18:07 +0000)
committer
J.D. Smith
<jdsmith@as.arizona.edu>
Mon, 27 Nov 2006 18:07:55 +0000
(18:07 +0000)
correctly identified.
lisp/progmodes/hideshow.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/hideshow.el
b/lisp/progmodes/hideshow.el
index e7ed67ce61c7f652091479c2460b896e714bbe21..e50a9a4dda6da2fafc85ee67a82af772bb8ac360 100644
(file)
--- a/
lisp/progmodes/hideshow.el
+++ b/
lisp/progmodes/hideshow.el
@@
-706,6
+706,7
@@
and `case-fold-search' are both t."
(if (and c-reg (nth 0 c-reg))
;; point is inside a comment, and that comment is hidable
(goto-char (nth 0 c-reg))
+ (end-of-line)
(when (and (not c-reg)
(hs-find-block-beginning)
(looking-at hs-block-start-regexp))